package com.xbn.xbnmall.ware.feign;

import com.xbn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author XBN
 * @date 2020/7/16 14:05
 * @email 78742541@qq.com
 */
/*
* 调用商品微服务
* */
@FeignClient("xbnmall-product")
public interface ProductFeignService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
